const net/http.maxPostHandlerReadBytes
5 uses
net/http (current package)
server.go#L1164: const maxPostHandlerReadBytes = 256 << 10
server.go#L1465: case w.reqBody.unreadDataSizeLocked() >= maxPostHandlerReadBytes:
transfer.go#L1022: if lr, ok := b.src.(*io.LimitedReader); ok && lr.N > maxPostHandlerReadBytes {
transfer.go#L1030: n, err = io.CopyN(io.Discard, bodyLocked{b}, maxPostHandlerReadBytes+1)
transfer.go#L1032: if err == io.EOF && n <= maxPostHandlerReadBytes {
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)